package com.study.ssm.annotation02.injection;

import lombok.Getter;
import lombok.Setter;

/**
 * @author zhoujunlin
 * @date 2023年07月27日 10:12
 * @desc
 */
public class UserServiceImpl implements UserService {

    @Setter
    @Getter
    private UserDAO userDAO;

    @Override
    public int register() {
        return userDAO.save();
    }
}
